using System;
using System.Linq.Expressions;

namespace ilgolosone.Shared.Domain
{
    public interface IDomainQuery<TEntity> where TEntity : IAggregateRoot
    {
        Expression<Func<TEntity, bool>> Criteria { get; }
    }
}